void main() {
  ///1.for循环
  for (var i = 0; i <= 10; i++) {
    print('数字$i');
    
  }

  ///2.while循环
  var i = 10;
  while (i >= 0) {
    print('while循环-数字$i');
    i--;
  }

  ///3.doWhile循环
  var b = 10;
  do {
    print('doWhile -- 数字$b');
    b--;
  } while (b < 5);
}
